<?php

$sImgUrl = 'http://chart.googleapis.com/chart?';
$params = array(
	'chs' => '440x220',
	'cht' => 'lxy',
	'chxt'=> 'x,y',
	'chco' => '3072F3,FF0000',
	'chd' => 't:10,20,40,80,90,95,99|20,30,40,50,60,70,80|-1|5,10,22,35,85',
	'chdl'=> 'Ponies|Unicorns',
	'chdlp'=> 'b',
	'chls' => '2,4,1|1',
	'chma'=> '5,5,5,25',
	'chtt'=> 'Остатки баланса'
);
$sImgUrl .= http_build_query($params);
//print_r(http_build_query($params));

?>
<img src="<?=$sImgUrl?>" alt="<?=$params['chtt']?>" />